<link rel="stylesheet" type="text/css" href="<?php echo INCLUDES_DIR; ?>/posttypes/property/css/style_onoff.css" media="screen" />
<?php
$custom = get_post_custom($post->ID);
$zon_slider = $custom['zon_slider'][0];
$zon_slider_value = get_post_meta($post->ID, 'zon_slider', true);
if($zon_slider_value == "yes") {
	$zon_slider_checked = 'checked="checked"';
} ?>
<div class="zon-onoffswitch">
	<input type="checkbox" name="zon_slider" class="zon-onoffswitch-checkbox" id="zon_slider" value="yes" <?php echo $zon_slider_checked; ?> />
	<label class="zon-onoffswitch-label" for="zon_slider">
		<div class="zon-onoffswitch-inner"></div>
		<div class="zon-onoffswitch-switch"></div>
	</label>
</div>